FROM registry.qiaofangyun.com/basetemplate/alpine_oraclejdk8_base:3.8.2
RUN mkdir /app
RUN mkdir -p /home/logs/logback/qf-eladmin-system
RUN chmod 777 /home/logs/logback/qf-eladmin-system
ADD qf-eladmin-system.jar /app/qf-eladmin-system.jar
ADD runboot.sh /app/
RUN bash -c 'touch /app/qf-eladmin-system.jar'
RUN echo "Asia/Shanghai" > /etc/timezone;
WORKDIR /app
RUN chmod a+x runboot.sh
CMD /app/runboot.sh